package com.guigu.jwy.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guigu.pojo.MProcedure;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MMMP {//M_MANUFACTURE
    private Integer id;

    private String manufactureId;

    private String productId;

    private String productName;

    private Integer amount;

    private Integer testedAmount;

    private String applyIdGroup;

    private String productDescribe;

    private Integer moduleCostPriceSum;

    private Integer realModuleCostPriceSum;

    private Integer labourCostPriceSum;

    private Integer realLabourCostPriceSum;

    private String designer;

    private String register;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registerTime;

    private String checker;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkTime;

    private String remark;

    private String checkTag;

    private String manufactureProcedureTag;

    private MProcedure mprocedure;
}
